package cn.itlight.org.domain;


import java.util.Date;

import cn.afterturn.easypoi.excel.annotation.Excel;
import cn.itlight.basic.domain.BaseDomain;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

/**
 * <p>
 * 
 * </p>
 *
 * @author tomliu
 * @since 2022-07-01
 */
@Data
public class Shop extends BaseDomain{

    private static final long serialVersionUID = 1L;
    @Excel(name = "状态", orderNum = "6",replace = {"待审核_0","已审核_1","驳回_-1","待激活_2"},width = 30,isImportField = "true_st")
    private Integer state = 0;
    @Excel(name = "店铺名字", orderNum = "1", width = 30,isImportField = "true_st")
    private String name;
    @Excel(name = "电话", orderNum = "2", width = 30,isImportField = "true_st")
    private String tel;
    @Excel(name = "入驻时间", orderNum = "3", width = 30,isImportField = "true_st",format = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date registerTime = new Date();
    @Excel(name = "地址", orderNum = "4", width = 30,isImportField = "true_st")
    private String address;
    @Excel(name = "店铺logo", orderNum = "5", width = 30,isImportField = "true_st")
    private String logo;
    private Long adminId;
    private Employee admin;


}
